package com.example.mapper;

import com.example.pojo.Doctor;
import com.example.pojo.DoctorQuery;
import com.example.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import javax.print.Doc;
import java.util.List;

@Repository
public interface DoctorMapper {

    List<Doctor> getDoctorList(@Param("doctorQuery") DoctorQuery doctorQuery);

    int update(@Param("doctor") Doctor doctor);

    Doctor getDoctorById(@Param("id") int id);

    int delDoctorById(@Param("id")int id);

    int delBatch(@Param("ids") List<Integer> idList);

    Doctor GetDoctorByAccountId(@Param("id") Integer id);
}
